package com.wuchao.spring.mybatisAndSpring;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author wuchao66
 * @Date 2022/9/29 11:29
 * @PackageName:com.wuchao.spring.mybatisAndSpring
 * @ClassName: Point162
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
@Service("Point162")
@Transactional(propagation = Propagation.REQUIRED,timeout = -1,
        noRollbackFor = RuntimeException.class)
public class Point162 {
    public void show(){
        System.out.println("事务切入点");
    }
}
